package com.sjb.sixteen_journey_backend.mapper;

import com.sjb.sixteen_journey_backend.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 晒单表 Mapper 接口
 * </p>
 *
 * @author jcz
 * @since 2024-07-13
 */
public interface ShowTicketMapper  {

    List<AirTicket> selectAirTicket(@Param("userId") Integer userId);
    AirTicket selectAirTicketById(@Param("id") Integer id,@Param("userId") Integer userId);
    List<AirTicket> selectAirTicketByUserId(@Param("userId") Integer userId);


    List<HotelTicket> selectHotelTicket(@Param("userId") Integer userId);
    HotelTicket selectHotelTicketById(@Param("id") Integer id,@Param("userId") Integer userId);
    List<HotelTicket> selectHotelTicketByUserId(@Param("userId") Integer userId);

    List<InsuranceTicket> selectInsuranceTicket(@Param("userId") Integer userId);
    InsuranceTicket selectInsuranceTicketById(@Param("id") Integer id,@Param("userId") Integer userId);
    List<InsuranceTicket> selectInsuranceTicketByUserId(@Param("userId") Integer userId);

    List<OthersTicket> selectOthersTicket(@Param("userId") Integer userId);
    OthersTicket selectOthersTicketById(@Param("id") Integer id,@Param("userId") Integer userId);

    List<OthersTicket> selectOthersTicketByUserId(@Param("userId") Integer userId);
}
